stylecontext: Deprecate regions
authorBenjamin Otte <otte@redhat.com>
Thu, 19 Jun 2014 18:00:16 +0000 (20:00 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 19 Jun 2014 20:26:51 +0000 (22:26 +0200)
commitd80bf0790d0903ba2825f306b6f7435529f922e2
tree290d028097851cb343496b21c6922806d01d3fdd
parent8451b15d6ec9f181ccc716c87c1fee66a402db21
stylecontext: Deprecate regions

Regions are done in a very non-css way. They don't fit the DOM in that
they don't integrate into the CSS tree and they have very weird matching
behavior in selectors.

So I'm deprecating them now. GtkNotebook and GtkTreeview will continue
to use them and as long as they do, we can't remove the code for it.
But once those are ported it might be safe to remove the code as it will
clean up lots of places in the code by quite a bit.
gtk/gtknotebook.c
gtk/gtkstylecontext.c
gtk/gtkstylecontext.h
gtk/gtkthemingengine.c
gtk/gtkthemingengine.h
gtk/gtktreeview.c